
package edu.sctu.practice.class02.shuqiqi.test02;

/**
 * Created by admin on 2015/10/12.
 */
public class Vehicle {
    public double speed, size;


    public void move() {

    }

    public void setSpeed(int speed) {
        this.speed = speed;

    }

    public double speedUp() {
        speed = speed + 1;
        return speed;

    }

    public double speedDown() {
        speed = speed - 1;
        return speed;
    }
}
